Closed
Bug 467860
Opened 16 years ago
Closed 3 years ago
IMAP does not store messages in Non-ascii Drafts. Autosave or manually save hangs. IMAP wizard created non localized "Drafts" in config. (mismatch of standard & localized folder names, of Tb & of Gmail by display language)
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: henry.nestler, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Keywords: intl)
Attachments
(5 files)
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-25 Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.9.1b3pre) Gecko/20081201 Thunderbird/3.0b1
I have created a new message on IMAP account and wait for the time have setup for autosave or use icon bar "Save" does only rotating a bargraph and a statusline says "Copying message to Drafts folder..."
This does endless, no timeout or other message, I was waiting 20 Minutes.
Reproducible: Always
Steps to Reproduce:
1. Turn on (select) the checkbox for Auto Save every 5 (or use less) minutes
2. Compose, view and edit a draft email message
3. Click the Save icon on bar, Menu File save, or wait longer the autosave time
Actual Results:
Endless rotating bargraph whil status line says "Copying message to Drafts folder..." (In German)
Expected Results:
Store message to my Draft folder.
Server connection is ok, and passwords are stored in Thunderbird for this account.
It's a Gmail.com account. My Draft folder has the name "Entwürfe", not "Draft", that is Germans default.
The en-US Thunderbird also does not work.
Ones have selected to save, and "canceled" this, the from File menu the entries "Save", "Save as -> Draft" and "Close Ctrl-W" does never working from this Window.
This can be only stop with top right cross, than Thunderbird ask "It's currently sending sending message, are you sure to cancel sending? Yes / No" (in German of curse).
Comment 1•16 years ago
|
||
(In reply to comment #0)
> Gecko/20081201 Thunderbird/3.0b1
>(snip)
> Steps to Reproduce:
>(snip)
> 2. Compose, view and edit a draft email message
> 3. Click the Save icon on bar, Menu File save, or wait longer the autosave time
>(snip)
> It's a Gmail.com account. My Draft folder has the name "Entwürfe", not "Draft", that is Germans default.
"Entwürfe" is localized name in German of "Drafts" folder?
Or, you created folder o "Entwürfe" and chose it as folder to save draft mail?
Before start of compose, login to Gmail IMAP server is done?
(Your mail folder for draft save is displayed as "Entwürfe" in folder pane?)
If folder named "Entwürfe" exists at Gmail IMAP server, and if login is not done before compose, Bug 450754 exists, and it possibly causes this bug's problem.
(In reply to comment #1)
> (In reply to comment #0)
> >(snip)
> > It's a Gmail.com account. My Draft folder has the name "Entwürfe", not "Draft", that is Germans default.
>
> "Entwürfe" is localized name in German of "Drafts" folder?
Yes.
> Or, you created folder o "Entwürfe" and chose it as folder to save draft mail?
No.
> Before start of compose, login to Gmail IMAP server is done?
> (Your mail folder for draft save is displayed as "Entwürfe" in folder pane?)
Yes.
> If folder named "Entwürfe" exists at Gmail IMAP server, and if login is not
> done before compose, Bug 450754 exists, and it possibly causes this bug's
> problem.
The Folder you woudl see as "Drafts" on en-US, I have as "Entwürfe". I never have created it manually. TB does not see it as special folder, it has no pencil icon, see attachment (id=351440). The messages inside my foder "Entwürfe" are the same in view from Gmail-Webview and Thunderbird.
This screen shot was made from a fresh created account. This is NOT the same as you see on my other attachments (id=351437) and (id=351440).
- I have fresh created a Google mail account via Web.
- Fresh started Thunderbirth without profile.
- Created Google IMAP with wizard.
- Wait for sync
- Folder Drafts is morphing from "Entw&APw-rte" into "Entwürfe", and the "INBOX" is morphing into "Posteingang" (automatically 5-10 seconds after start TB).
- Compose a Message and use "Save": Works.
- Compose a Message and wait the autosave time: Works.
I found one different:
On error case (comment #0) I have domain "gmail.com", a very old account.
The working account has the domain "googlemail.com" for my mail address.
How can I enable IMAP debug logging to see the IMAP internal commands?
I found it!
In the account setting the radio button "Other folder:" was selected and the drop down box was named as "Drafts". But no such folder exist here.
After changing this into
"Google Mail - Henry" (my account title)
"[Gmail]" (a deeper sub menu)
"Entwürfe" (engl. Drafts)
it works now, and the folder has the pencil icon now.
I never manually have changed the account settings for this profile. It was automatically created with the wizard for Gmail-IMAP. In same way as in comment #5, but after a POP account was existing in this profile. I feel, the wizard has stored the "Draft" in config before it was known as "Entwürfe". (lame network)
My suggestion:
Set the upper radio checkbox "Folder 'Drafts' in:" as default for new accounts.
This would have no such timing problems from morphing "Draft" to "Entwürfe" at creating time of the config.
Summary: IMAP does not store messages in Draft. Autosave or manually save hangs endless → IMAP does not store messages in Non-ascii Drafts. Autosave or manually save hangs endless. - IMAP wizard created non localized "Drafts" in config.
Comment 7•16 years ago
|
||
(In reply to comment #5)
> (A) Folder Drafts is morphing from "Entw&APw-rte" into "Entwürfe",
> (B) and the "INBOX" is morphing into "Posteingang"
> (automatically 5-10 seconds after start TB).
(A) is phenomenon of Bug 450754 on "non-ascii IMAP folder name".
(B) is phenomenon of Bug 450754 on "localized IMAP folder name".
(Note: Bug 450754 was FIXED on 12/4. Use 12/5 build or newer, please)
(In reply to comment #6)
> I never manually have changed the account settings for this profile.
> It was automatically created with the wizard for Gmail-IMAP.
> In the account setting the radio button "Other folder:" was selected and the
drop down box was named as "Drafts".
Improvement seems to be needed in "account creation via wizard for Gmail-IMAP" especially when localized name is used for special folders.
> My suggestion:
> Set the upper radio checkbox "Folder 'Drafts' in:" as default for new accounts.
If "Folder 'Drafts' in:" is set, Gmail IMAP creates Gmail label of [Imap]/Drafts when Tb requests to create "Drafts" folder(this is Gmail's design). In order to use Gmail Web's special folder of "Drafts" as Tb's folder for saving draft mail, "Other: [Gmail]/Drafts" is required. This is the reason why "Other:" is checked by "account creation via wizard for Gmail-IMAP". See Bug 400931. See also meta Bug 402793.
Set dependency to meta Bug 402793, although I'm no sure Gmail IMAP unique issue, or wizard for Gmail-IMAP issue, or UI related issue when localized special folder name is used, or some of them, or all of them.
Blocks: tb-gmailWIP
Comment 8•16 years ago
|
||
I checked with Tb latest-trunk(en-US, non-localized) on MS Win-XP SP3.
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20081204 Shredder/3.0b2pre
Following is status just after account creation by wizard for Gmail IMAP.
(A) Folder displayed in folder pane :
> Inbox only, because login/subscribe is not done yet.
(B) prefs.js entries for special folders
> user_pref("mail.identity.id2.DraftFolder", "[Gmail]/Drafts");
> user_pref("mail.identity.id2.FccFolder", "[Gmail]/Sent Mail");
> user_pref("mail.identity.id2.draft_folder", "imap://username@imap.gmail.com/[Gmail]/Drafts");
> user_pref("mail.identity.id2.drafts_folder_picker_mode", "1");
> user_pref("mail.identity.id2.fcc", false);
> user_pref("mail.identity.id2.fcc_folder", "imap://username@imap.gmail.com/[Gmail]/Sent Mail");
> user_pref("mail.identity.id2.fcc_folder_picker_mode", "1");
> user_pref("mail.identity.id2.fullName", "My UserName");
> user_pref("mail.identity.id2.smtpServer", "smtp2");
> user_pref("mail.identity.id2.stationery_folder", "imap://username@imap.gmail.com/Templates");
> user_pref("mail.identity.id2.tmpl_folder_picker_mode", "0");
> user_pref("mail.identity.id2.useremail", "username@gmail.com");
> user_pref("mail.identity.id2.valid", true);
> xxx_picker_mode==0 : "Drafts Folder on:" , xxx_picker_mode==1 : "Other:"
(C) Account Settings
> (C-1) Displayed string in Copies&Folders/Keep message draft in: == Drafts (not [Gmail]/Drafts)
> (C-2) Pull down list of folder choice displays "Inbox" only, because login/subscribe is not done yet.
According to (B), there is no problem in use of Gmail IMAP account by Tb.
But there are several problems.
(1) Your confusion on special design of Gmail/Gmail IMAP.
(2) "Drafts", instead of "[Gmail]/Drafts" at (C-1).
Only lowest level name is displayed in UI.
(3) "Drafts", instead of localized "Entwürfe" at (C-1) in your case.
(4) "Autosave or manually save hangs endless" in bug summary/Comment #0.
Problem (2) is already known issue.
Similar problem to (4) can be observed by following test.
(Force Drafts creation failure)
- Create dummy POP3 account
- Change path of "Local Direcory:" to read-permission-only directory
- Restart Tb
- Compose a mail, Save as draft
==> Save hangs until reply "Cancel"
I guess that creation or access failure occurred when comment #0 due to inappropriate/damaged prefs.js setting(produced by wizard for Gmail IMAP of old Tb build), because two "Entwürfe"(one with pencil icon, other with icon for usual folder) are seen in your screen shot.
Questions for problem (3).
Does problem (3) occur even after login&subscribe with the new Gmail IMAP account/Tb latest-trunk?
Which("Drafts" or "Entwürfe") is displyed in pull down list?
For (C-1) it's viewed as "Drafts", see this attachment.
(In reply to comment #8)
> Questions for problem (3).
> Does problem (3) occur even after login&subscribe with the new Gmail IMAP
> account/Tb latest-trunk?
> Which("Drafts" or "Entwürfe") is displyed in pull down list?
BuildID=20081205082316
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.9.1b3pre) Gecko/20081205 Shredder/3.0b2pre
All from fresh profile, and new created IMAP account.
In folder pane name is "Entwürfe", has no pencil icon, and have only ones, same as in attachment (id=351440).
from (B) current prefs.js entries
user_pref("mail.identity.id1.DraftFolder", "[Google Mail]/Drafts");
user_pref("mail.identity.id1.FccFolder", "[Google Mail]/Sent Mail");
user_pref("mail.identity.id1.draft_folder", "imap://henryXXX@imap.googlemail.com/[Google Mail]/Drafts");
user_pref("mail.identity.id1.drafts_folder_picker_mode", "1");
user_pref("mail.identity.id1.fcc", false);
user_pref("mail.identity.id1.fcc_folder", "imap://henryXXX@imap.googlemail.com/[Google Mail]/Sent Mail");
user_pref("mail.identity.id1.fcc_folder_picker_mode", "1");
user_pref("mail.identity.id1.fullName", "Henry");
user_pref("mail.identity.id1.smtpServer", "smtp1");
user_pref("mail.identity.id1.stationery_folder", "imap://henryXXX@imap.googlemail.com/Templates");
user_pref("mail.identity.id1.tmpl_folder_picker_mode", "0");
user_pref("mail.identity.id1.useremail", "henryXXX@googlemail.com");
user_pref("mail.identity.id1.valid", true);
Have restarted TB and have "Get Mail" clicked, this does not change any of the entries. I currently, never have composed or "saved" a mail in this profile. Gmail Web has no Labels at this point.
I Remember, that the pencil in UI folder pane goes to "Entwürfe" after the "save" or autosave.
Reporter | ||
Comment 10•16 years ago
|
||
Now, have composed a mail and clicked ones the "save" icon.
TB does something sending and says "successfully send" in status line.
I closed the composer.
No popup question about "unsaved message or losing" was seen.
Folder names are unchanged, have one folder "Entwürfe".
Stored mail I can not find.
It's dropped? It is not in all messages, not in Sends.
Logged in with GmailWeb:
Label "[Google Mail]/Drafts" exists, but have no messages.
Restarted TB, asked for password (I have not stored).
Have two folders "Entwürfe" now, ones with pencil icon, same in attachment (id=351451).
In prefs.js have one new entry:
user_pref("mail.identity.id1.doBcc", false);
All others with "mail.identity.id1" are unchanged.
For (C-1): It's viewed as "Entwürfe" now.
Reporter | ||
Comment 11•16 years ago
|
||
Now, have restarted TB. The first mail from (comment #10) is dropped, can't find this. Also not in GmailWeb, and they was alos not on the recilients mailbox. So, I repeated this step now.
Compose a new mail and clicked "save". It's finish and I closed the composer.
I selected the "Entwürfe" in folder pane:
My second mail is there.
The prefs.js are unchanged.
The only difference between this and (comment #10) is, that the draft folder was viewed as "Entwürfe" in the account (C-1) before I used the "save as draft". I feel, the (C-1) must finish the update "Entwürfe", before the draft save would work.
Summary: From all the testings, I see, that "Save as Draft" works only, if I can see the Folder in pane with pencil.
Comment 12•16 years ago
|
||
(In reply to comment #9 thru comment #11)
> Have two folders "Entwürfe" now, ones with pencil icon, same in attachment (id=351451).
I could obtain similar result to yours by choosing Gmail display language:==Japanese(日本語 in selection list) and Gmail display language:==Deutsch, except phenomenon of "Autosave or manually save hangs endless", using en-US build of Tb latest-trunk.
(Q1) Do you still see phenomenon of "Autosave or manually save hangs endless"?
(Q2) What language do you set for the Gmail account?
At Gmail Web : Settings/General/Language:/Gmail display language:
(Q3) What is displayed in Name:/Location: field of Properties/General Information tab of two "Entwürfe" folders under "[Google Mail]" folder?
(Q4) Does Gmail label of "[Google Mail]/Drafts" exist in Gmail's Web interface?
Is there any other Gmail label of "[Google Mail]/xxxx"?
(Q5) can you check with following combinations, in addition to current combination of (A) de Tb build + Gmail display language:=Deutsch?
(B) en-US Tb build + Gmail display language:=Deutsch
(C) de Tb build + Gmail display language:=English(US)
(D) en-US Tb build + Gmail display language:=English(US)
Because en-US build doesn't have localized name of "Entwürfe" for "Drafts" folder, you can probably see "Drafts" with pencil icon in folder pane instead of "Entwürfe" with pencil icon. It'll help us to see what happens.
When you try to change "Gmail display language:", Gmail will probably ask you for change of all other language related settings. Please reply OK(or Yes) to the dialog, in order to force change of "Gmail IMAP folder name".
(My current observation/guess)
(1) Folder name passed by Gmail IMAP when "Gmail display language:" is set.
When "Gmail display language:=Deutsch", Gmail IMAP looks to pass Gmail's standard "Drafts" folder("Entwürfe" in Deutsch) to Tb as "%5BGoogle Mail%5D/Entw%26APw-rfe" (modified UTF-7 version of [Google Mail]/Entwürfe). This probably causes mismatch between following Tb's setting and folder name for Gmail IMAP with "Gmail display language:=Deutsch".
> user_pref("mail.identity.id1.draft_folder", "imap://henryXXX@imap.googlemail.com/[Google Mail]/Drafts");
(2) Gmail IMAP's behaviour, when Gmail label of [Gmail]/Drafts exists,
and when "Gmail display language:==English(US)".
When user defined Gmail label of [Gmail]/Drafts doesn't exist, Gmail IMAP passes Gmail Web's standard folder named "Drafts" as IMAP folder of [Gmail]/Drafts to IMAP client.
However, if user defined Gmail label of [Gmail]/Drafts exists, Gmail IMAP passes this user defined Gmail label as IMAP folder of [Gmail]/Drafts, instead of Gmail's special/standard folder named "Drafts".
Reporter | ||
Comment 13•16 years ago
|
||
(In reply to comment #12)
> (Q1) Do you still see phenomenon of "Autosave or manually save hangs endless"?
No. Never seen again since Bug 450754 was solved.
> (Q2) What language do you set for the Gmail account?
> At Gmail Web : Settings/General/Language:/Gmail display language:
German.
> (Q3) What is displayed in Name:/Location: field of Properties/General
> Information tab of two "Entwürfe" folders under "[Google Mail]" folder?
The first with pencil:
Name of folder: Entwürfe
Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Drafts
The second:
Name of folder: Entwürfe
Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Entw%26APw-rfe
> (Q4) Does Gmail label of "[Google Mail]/Drafts" exist in Gmail's Web interface?
> Is there any other Gmail label of "[Google Mail]/xxxx"?
Label "[Google Mail]/Drafts" exists, not more.
> (Q5) can you check with following combinations, in addition to current
> combination of (A) de Tb build + Gmail display language:=Deutsch?
> (B) en-US Tb build + Gmail display language:=Deutsch
> (C) de Tb build + Gmail display language:=English(US)
> (D) en-US Tb build + Gmail display language:=English(US)
> Because en-US build doesn't have localized name of "Entwürfe" for "Drafts"
> folder, you can probably see "Drafts" with pencil icon in folder pane instead
> of "Entwürfe" with pencil icon. It'll help us to see what happens.
> When you try to change "Gmail display language:", Gmail will probably ask you
> for change of all other language related settings. Please reply OK(or Yes) to
> the dialog, in order to force change of "Gmail IMAP folder name".
Used fresh nightly build Version=3.0b2pre BuildID=20081206032217 for Linux.
(A) TB=de, Gmail language=Deutsch
Name of first folder with pencil: Entwürfe
Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Drafts
Contains my test message.
Name of second folder: Entwürfe
Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Entw%26APw-rfe
Has no messages.
(B) TB=en-US, Gmail language=Deutsch
Name of first folder with pencil: Drafts
Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Drafts
Contains my test message.
Name of second folder: Entwürfe
Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Entw%26APw-rfe
Has no messages.
(D) TB=de Version=3.0b2pre BuildID=20081206032217, Gmail language=English(US)
Have Gmail Web changed into language=English. No such questions about "other language related settings" have seen.
All Gmail folders in Web interface are in English now, "Inbox, Starred, Chats, Send Mail, Drafts, All Mail, Spam, Trash".
After login on TB, all folders are renamed into English, unless the "Entwürfe".
"Entwürfe" exist only ones and have a pencil.
Name of folder with pencil: Entwürfe
Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Drafts
Has no messages.
(D) TB=en-US, Gmail language=English(US)
Name of folder with pencil: Drafts
Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Drafts
Has no messages.
For all the test (A)-(D):
In Gmail Web interface only Label "[Google Mail]/Drafts" exists. It contains my Message from comment #11.
Reporter | ||
Comment 14•16 years ago
|
||
(In reply to comment #13)
Correcion for this line ( I tested all from same build ):
> (D) TB=de Version=3.0b2pre BuildID=20081206032217, Gmail language=English(US)
> Have Gmail Web changed into language=English.
"
(C) TB=de, Gmail language=English(US)
Have Gmail Web changed into language=English. ...
"
Comment 15•16 years ago
|
||
(In reply to comment #13)
> The first with pencil:
> Name of folder: Entwürfe
> Address: imap://.../%5BGoogle%20Mail%5D/Drafts
> The second:
> Name of folder: Entwürfe
> Address: imap://.../%5BGoogle%20Mail%5D/Entw%26APw-rfe
"Name of folder: Entwürfe" of the first is localized name by Tb.
"Name of folder: Entwürfe" of the second is localized name by Gmail, and it is passed to Tb in modified UTF-7(Entw%26APw-rfe).
Because Tb's setting is following, Tb can use only the first one as Tb's Drafts folder.
> user_pref("mail.identity.id1.draft_folder","imap://henryXXX@imap.googlemail.com/[Google Mail]/Drafts");
> Label "[Google Mail]/Drafts" exists, not more.
>(snip)
> (D) TB=en-US, Gmail language=English(US)
> Name of folder with pencil: Drafts
> Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Drafts
> Has no messages.
Please check what is presented to Thunderbird as [Google Mail]/Drafts folder by Gmail IMAP.
(1) At Gmail Web,
(1-1) Compose a mail, and save as draft.
==> Saved in "Drafts" folder of Gmail Web (say Drafts-Gmail)
(1-2) Add label of [Google Mail]/Drafts to other non-draft mail.
==> Gmail label is added to a mail (say Drafts-User-Label)
(2) Open [Gmail]/Drafts folder by Tb.
Which(Drafts-Gmail or Drafts-User-Label) is presented to Thunderbird?
Which mail is seen in [Google Mail]/Drafts?
If Drafts-User-Label is presented to Tb, try next.
(3) At Gmail Web, delete Gmail label of [Google Mail]/Drafts.
(4) Restart Tb, and open [Google Mail]/Drafts folder.
Is Drafts-Gmail presented to Tb?
Reporter | ||
Comment 16•16 years ago
|
||
(In reply to comment #15)
> (In reply to comment #13)
> > (D) TB=en-US, Gmail language=English(US)
> > Name of folder with pencil: Drafts
> > Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Drafts
> > Has no messages.
>
> Please check what is presented to Thunderbird as [Google Mail]/Drafts folder by
> Gmail IMAP.
> (1) At Gmail Web,
> (1-1) Compose a mail, and save as draft.
> ==> Saved in "Drafts" folder of Gmail Web (say Drafts-Gmail)
> (1-2) Add label of [Google Mail]/Drafts to other non-draft mail.
> ==> Gmail label is added to a mail (say Drafts-User-Label)
> (2) Open [Gmail]/Drafts folder by Tb.
> Which(Drafts-Gmail or Drafts-User-Label) is presented to Thunderbird?
> Which mail is seen in [Google Mail]/Drafts?
The Drafts-Gmail from (1-1) is presented to Thunderbird.
Tested with Gmail Web interface language=English(US).
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b3pre) Gecko/20081206 Shredder/3.0b2pre
Comment 17•16 years ago
|
||
(In reply to comment #10)
> Now, have composed a mail and clicked ones the "save" icon.
> TB does something sending and says "successfully send" in status line.
> I closed the composer.
> No popup question about "unsaved message or losing" was seen.
> Folder names are unchanged, have one folder "Entwürfe".
> Stored mail I can not find.
> It's dropped? It is not in all messages, not in Sends.
Similar phenomenon can easily be re-produced by next test.
1. At Tb' Copies&Folders setting, check "Drafts folder on: Gmail ...",
check "Show confirmation dialog when messages are saved", terminate Tb.
2. At Gmail Web, delete Gmail label named "[Imap]/Drafts" if exists.
Gmail label of "[Imap]/Drafts" == Root level "Drafts" folder for Thundebird.
3. Restart Tb, compose a mail, save as draft.
=> Tb says save is successfull.
"Drafts" appears in folder pane, but no draft mail is seen in it.
4. At this step, "[Imap]/Drafts" is probably not displayed to user.
5. Sign-of and sign-on Gmail user again.
=> Gmail label of "[Imap]/Drafts" appears.
No mail is seen for Gmail label of "[Imap]/Drafts".
This problem can be said as follows;
When Drafts folder(for Thunderbird) doesn't exists at Gmail Web/Gmail IMAP,
"Drafts" folder(Gmail label of [Imap]/Drafts") is successfully created
upon first "Save As Drafts", and Thunderbird says "save is successful".
But no mail is seen in "Drafts" folder(Gmail label of [Imap]/Drafts").
Same thing probably occurs on "[Google Mail]/Drafts" when Gmail Languge=Deutsch.
Please try above test procedure with en-US build+Languge=English(US) first, in order to avoid confusion due to translation by Tb & translation by Gmail.
I don't know fault of Tb or fault of Gmail IMAP.
I'll try to get IMAP protocol log.
Reporter | ||
Comment 18•16 years ago
|
||
(In reply to comment #17)
> Similar phenomenon can easily be re-produced by next test.
> 1. At Tb' Copies&Folders setting, check "Drafts folder on: Gmail ...",
With TB en-US
It was "Entw&APw-rfe", changed to "Accout Name" - "[Google Mail]" - "Drafts"
> check "Show confirmation dialog when messages are saved", terminate Tb.
> 2. At Gmail Web, delete Gmail label named "[Imap]/Drafts" if exists.
> Gmail label of "[Imap]/Drafts" == Root level "Drafts" folder for
> Thundebird.
Yes it was there. Have removed.
> 3. Restart Tb,
Tb "Drafts" give me now the "Drafts-Gmail" from (1-1) comment #15.
> compose a mail, save as draft.
> => Tb says save is successfull.
> "Drafts" appears in folder pane, but no draft mail is seen in it.
New mail is in TB "Drafts", and also in Gmail Web' "Drafts".
Have than removed all messages in Gmail Web from "Drafts", and restarted TB and tried all steps again: The same result. It's correct working with TB en-US and Gmail English(US).
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b3pre) Gecko/20081206 Shredder/3.0b2pre
Reporter | ||
Comment 19•16 years ago
|
||
(In reply to comment #17)
> (In reply to comment #10)
Repeated the steps with TB=German (de) and Gmail=Deutsch (de).
Th folder Drafts have changed to "Accout Name" - "[Google Mail]" - "Entwürfe"
This works now.
I can not repeat the problem of missing from save as drafts.
Was my problem on comment #10 from Label "[Imap]/Drafts" ?
It was automatically created by TB. Why this was not created today?
I would say, because I have changed the folder for drafts in account settings. In prefs.js is now:
mail.identity.id1.draft_folder;imap://henryXXX@imap.googlemail.com/[Google Mail]/Entw&APw-rfe
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.9.1b3pre) Gecko/20081206 Shredder/3.0b2pre
Reporter | ||
Comment 20•16 years ago
|
||
(In reply to comment #19)
> (In reply to comment #17)
> > (In reply to comment #10)
Have created a new profile and new IMAP account for Gmail, and tested these steps above.
I become two folders "Entwürfe" again.
The message was not loosed, it is in the second "Entwürfe" with this Address: imap://henryXXX@imap.googlemail.com/%5BGoogle%20Mail%5D/Entw%26APw-rfe
Please ignore my comment #10, as I can not repeat it.
But, a real problem for users are the two folders "Entwürfe", created by wizard. That is very difficult to understanding.
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.9.1b3pre) Gecko/20081206 Shredder/3.0b2pre
Comment 21•16 years ago
|
||
(In reply to comment #19)
> In prefs.js is now:
> mail.identity.id1.draft_folder;imap://henryXXX@imap.googlemail.com/[Google Mail]/Entw&APw-rfe
If Gmail Language=English(US), it means user defined Gmail label of "[Google Mail]/Entwürfe" at Gmail Web.
If Gmail Language=Deutsch, it means "Entwürfe" folder at Gmail Web.
> Was my problem on comment #10 from Label "[Imap]/Drafts" ?
> It was automatically created by TB. Why this was not created today?
(A) To test with Gmail label of [Imap]/Drafts, Tb's setting should be ;
> user_pref("mail.identity.id1.draft_folder", "imap://henryXXX@imap.googlemail.com/Drafts");
> user_pref("mail.identity.id1.drafts_folder_picker_mode", "0");
> (picker_mode==0 : "Drafts Folder on:" is checked instead of "Others:")
When Tb requests "Drafts" according to prefs.js setting via Gmail IMAP, Gmail creates Gmail label of "[Imap]/Drafts". And, Gmail IMAP presents Gmail label of "[Imap]/Drafts" as root level "Drafts" folder to IMAP clients.
This is confusing case. You'd better to test with next (B).
(B) You can re-produce problem(draft mail is not saved on first save, when mail folder doesn't exist) by next setting in prefs.js, when Gmail label of "[Google Mail]/XXX_Drafts" doesn't exist.
> user_pref("mail.identity.id1.draft_folder", "imap://henryXXX@imap.googlemail.com/[Google Mail]/XXX_Drafts");
> user_pref("mail.identity.id1.drafts_folder_picker_mode", "1");
"XXX_Drafts" part can be any valid string for user defined Gmail label and mail folder name for Tb.
Because "[Google Mail]/XXX_Drafts" doesn't exist, it can not be set via UI of Tb.
When Gmail IMAP account is created by Tb via wizarad for Gmail IMAP, following is set in prefs.js.
> user_pref("mail.identity.id1.draft_folder", "imap://henryXXX@imap.googlemail.com/[Google Mail]/Drafts");
And, when Gmail Language=Deutsch, Gmail's "Entwürfe" folder("Drafts" when Language=English) at Gmail Web is presented to Tb as mail folder of "[Google Mail]/Entwürfe".
It means that "Drafts" folder under "[Google Mail]" folder doesn't exist.
So, if user tries to save draft mail without choosing "[Google Mail]/Entwürfe" folder at "Other:", same problem as case (B) always occurs. And, user defined Gmail label of "[Google Mail]/Drafts" is created.
I re-produced the problem with case (B), and I've got IMAP log for it.
I'll attach log.
Confirming.
Further, "manually save hangs endless" was also re-produced with next setting, where user defined Gmail label of "Non_Existent" & "Non_Existent/XXX_Drafts" don't exist.
> user_pref("mail.identity.id2.draft_folder", "imap://xxx@imap.googlemail.com/Non_Existent/XXX_Drafts");
> user_pref("mail.identity.id2.drafts_folder_picker_mode", "1");
I guess that similar situation occurred when your Comment #0.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 22•16 years ago
|
||
Test is:
- First "Savs As Draft" when "[Gmail]/XXX_Drafts" doesn't exist.
- Open of created "[Gmail]/XXX_Drafts" folder.
- First "Savs As Template" when "[Gmail]/XXX_Templates" doesn't exist.
- Open of created "[Gmail]/XXX_Templates" folder.
Tb says "save is successful" in dialog, but IMAP log says "tb doesn't issue APPEND" after "uid validity not ok".
> 00000052 2.41608047 [5960] 2768[4513460]: 4383858:imap.gmail.com:A:CreateNewLineFromSocket: 3 OK [READ-WRITE] [Gmail]/XXX_Drafts selected. (Success)
> 00000053 2.41715765 [5960] 2768[4513460]: 4383858:imap.gmail.com:S-[Gmail]/XXX_Drafts:ProcessSelectedStateURL: uid validity not ok
> 00000054 4.95989275 [5960] 2768[4513460]: 4383858:imap.gmail.com:S-[Gmail]/XXX_Drafts:SendData: 4 IDLE
When "Templates" folder, "uid validity not ok" doesn't occur, and APPEND is normally issued. "uid validity not ok" seems to be "Drafts" only phenomenon.
Comment 23•16 years ago
|
||
(In reply to comment #20)
> But, a real problem for users are the two folders "Entwürfe", created by wizard.
No, it's not created by "wizard for Gmail IMAP".
Since initial of Thunderbird, if user wants to use other than "Drafts"("[Gmail]/Drafts" when defined via wizard for Gmail IMAP), including folder with localized name at IMAP server, user has to select folder at "Other:" of Copies&Folders setting.
Because setting at "Others:" is possible via folder selection list only, "folder is not created at IMAP server yet" usually doesn't occur.
However, when Gmail IMAP, "folder is not created at IMAP server yet" can easily occur, mainly because of special design/implementation of Gmail/Gmail IMAP.
> That is very difficult to understanding.
Design/implementation of Gmail/Gmail IMAP is very special. It's sufficient to produce user's confusion.
(See meta Bug 402793 and bugs listed in dependency tree)
And, when combination of "Localized Gmail & Gmail IMAP + Localized Thunderbird" is used, it's harder to know what is going on, than when "English Gmail + English Tb". Further, situation is worse, if same localized term for a Gmail label(folder name for Tb) is used by both of localized Gmail and localized Thunderbird.
(1) Thunderbird always uses "Drafts" by default (or "[Gmail]/Drafts") as folder
to save draft mail, and is set in prefs.js on account definition.
(2) "[Gmail]" part presented to IMAP client depends on Gmail IMAP server.
imap.gmail.com : [Gmail]
imap.googlemail.com : [Google Mail]
(3) Gmail's folder name(Gmail label) depends on language setting of Gmail.
Gmail Languge=English(US) : "Drafts"
Gmail Languge=Deutsch : "Entwürfe" ("Entw%26APw-rfe" in modified UTF-7)
(4) Gmail's special folder/label of "Drafts" ("Entwürfe" when Language=Deutsch)
is presented to IMAP client as:
imap.gmail.com :
Gmail Languge=English(US) : "[Gmail]/Drafts"
Gmail Languge=Deutsch : "[Gmail]/Entwürfe"
imap.googlemail.com :
Gmail Languge=English(US) : "[Google Mail]/Drafts"
Gmail Languge=Deutsch : "[Google Mail]/Entwürfe"
(5) Gmail permits creation of Gmail label of "[Gmail]/xxx",
even when "xxx" is same as Gmail's special folder name(special Gmail label).
So following can occur.
(exapmle of imap.gmail.com only)
Gmail Lanuage=English(US)
Gmail label Presented folder name to Tb
Drafts [Gmail]/Drafts
[Gmail]/Drafts Not presented to client
[Gmail]/Entwürfe [Gmail]/Entwürfe
Gmail Lanuage=Deutsch
Gmail label Presented folder name to Tb
Entwürfe [Gmail]/Entwürfe
[Gmail]/Drafts [Gmail]/Drafts
[Gmail]/Entwürfe Not presented to client
(6) Tb's special root level folder of "Drafts" is presented at Gmail Web
as user defined Gmail label of "[Imap]/Drafts".
(7) Tb's localized name used in UI(UI only, not file name, internal name)
for "Drafts" depends on localization of Tb.
German version of Tb : "Entwürfe"
And, in addition to above,
(8) At UI of "Other:" for drafts folder, only lowest level name is displayed as selected folder name. And the display is localized when localized Tb. For example, "Entwürfe" is displayed at "Others:" for all of "[Gmail]/Drafts", "[Gmail]/Entwürfe, "[Google Mail]/Drafts", "[Google Mail]/Entwürfe", when German version of Tb is used.
This should be improved, in order to avoid user's confusion or mis-operation.
(9) There are two bugs of Tb, when folder to save draft is not created
at IMAP server yet before first attempt of "Save As Draft".
(9-1) When lowest level folder doesn't exist.
Upon first "Save As Draft", Tb says "save is successful",
folder is created and subscibed. But save(APPEND) is not really done.
(in your case)
Tb uses "[Gmail]/Drafts", but it doesn't exist on imap.gmail.com
when Gmail Language=Deutsch.
(9-2) When higher level folder("xxx" of "xxx/yyy") doesn't exist.
"Save As Draft" never ends.
(1) to (6) is why "folder to save draft is not created at IMAP server yet" occurs. I believe "(1) to (6) & (8) to (9)" can explain why two "Entwürfe" are seen on Tb in your environment.
There are real bugs(flaw) of Tb, and improvement of Tb's UI is required. But, if user correctly selects proper folder at "Other:" before first attempt of "Save As Draft", user won't meet Tb's bug of (9).
Comment 24•16 years ago
|
||
For issues written in bug summary.
>(A) IMAP does not store messages in Non-ascii Drafts.
It's problem of (9-1). It's not "non-ascii drafts" only issue.
But when imap.gmail.com and "wizard for Gmail IMAP", it occurs only when Gmail Languge other than English is used and user doesn't select "folder to save draft mail" correctly at "Other:" of Copies&Folders before first attempt of "Save As Draft".
I'll open separate bug for (9-1).
>(B) Autosave or manually save hangs endless.
It's problem of (9-2).
I can't imagine other than "manual editing of prefs.js" case.
I'll open separate bug for (9-2), if it can't be said as "user error".
What did you do when Comment #0?
Did you do next for account on imap.googlemail.com?
- Define an account by "wizard for Gmail IMAP" (imap.gmail.com is used)
- Change server settings to imap.googlemail.com from imap.gmail.com
- Change some other settings such as mail address
>(C) - IMAP wizard created non localized "Drafts" in config.
If you need localized setting by wizard, open separate bug(enhancement request), please.
Comment 25•16 years ago
|
||
The only reliable folder name in IMAP is INBOX, so making assumptions about other folder names in the wizard is unsafe.
In particular, the standard folder names in Gmail are language dependent.
Gmail does provide a solution in the XLIST extension, which lists all the folders with standard flags:
English(UK):
---------------------------------------------------------------------
* XLIST (\HasNoChildren \Inbox) "/" "Inbox"
* XLIST (\Noselect \HasChildren) "/" "[Google Mail]"
* XLIST (\HasNoChildren \AllMail) "/" "[Google Mail]/All Mail"
* XLIST (\HasNoChildren \Trash) "/" "[Google Mail]/Bin"
* XLIST (\HasNoChildren \Drafts) "/" "[Google Mail]/Drafts"
* XLIST (\HasNoChildren \Sent) "/" "[Google Mail]/Sent Mail"
* XLIST (\HasNoChildren \Spam) "/" "[Google Mail]/Spam"
* XLIST (\HasNoChildren \Starred) "/" "[Google Mail]/Starred"
--------------------------------------------------------------
Deutsch:
--------------------------------------------------------------
* XLIST (\HasNoChildren \Inbox) "/" "Posteingang"
* XLIST (\Noselect \HasChildren) "/" "[Gmail]"
* XLIST (\HasNoChildren \AllMail) "/" "[Gmail]/Alle Nachrichten"
* XLIST (\HasNoChildren \Drafts) "/" "[Gmail]/Entw&APw-rfe"
* XLIST (\HasNoChildren \Sent) "/" "[Gmail]/Gesendet"
* XLIST (\HasNoChildren \Starred) "/" "[Gmail]/Markiert"
* XLIST (\HasNoChildren \Trash) "/" "[Gmail]/Papierkorb"
* XLIST (\HasNoChildren \Spam) "/" "[Gmail]/Spam"
----------------------------------------------------------------------
Note: the name for Inbox listed for Deutsch cannot actually be used in IMAP. The name of the Inbox is always "Inbox".
Comment 26•16 years ago
|
||
(In reply to comment #25)
> English(UK):
> ---------------------------------------------------------------------
> * XLIST (\Noselect \HasChildren) "/" "[Google Mail]"
> * XLIST (\HasNoChildren \Trash) "/" "[Google Mail]/Bin"
> ---------------------------------------------------------------------
Gotcha. I could see "[Google Mail]" and "[Google Mail]/Bin" with English(UK).
I've recalled brand/trademark issue in Europe. I now know when(& why) "[Google Mail]" is used.
To Brian Kennelly:
Is there any plan of Gmail/Help/IMAP documentation for "[Gmail] or [Google Mail]" and localized Gmail's standard folder name, including difference between English(US) and English(UK)?
Comment 27•16 years ago
|
||
FYI.
> http://mail.google.com/mail/help/intl/en-GB/googlemail.html
> Google Mail in the UK
Comment 28•16 years ago
|
||
For (B) Autosave or manually save hangs endless (problem of 9-2).
Tested with:
> user_pref("mail.identity.id2.stationery_folder", "imap://username@imap.gmail.com/Non_Existent/XXX_Templates");
Test:
"Save as template" when user defined Gmail label of "Non_Existent" is not defined. "Non_Existent/xxx"(xxx is any string) is not defined too.
=> Save never ends.
IMAP log for "save as template".
> imap.gmail.com:S-Templates:SendData: 8 create "Non_Existent^XXX_Templates"
> imap.gmail.com:S-Templates:CreateNewLineFromSocket: 8 NO Folder name is not allowed. (Failure)
> imap.gmail.com:S-Templates:SendData: 9 IDLE
This(never end when create failure) is same phenomenon as Bug 277611 / Bug 380238, although the reason of "create failure" is different.
I don't know whether "^" in "Non_Existent^XXX_Templates"(instead of "/") is correct or not. But I guess it's correct because folder named "Non_Existent" doesn't exist.
I guess that problem (9-2) in Comment #0 was;
- Gmail Language=English(UK)
Gmail's standard folders are presented to Tb as subfolder of [Google Mail]
Gmail label of [Gmail] nor [Gmail]/xxx doesn't exist
- "Gmail/Drafts" in prefs.js
- Higher folder named [Gmail] doesn't exist
=> Tb issues create "Gmail^Drafts" => create failure => Save never ends
Comment 29•16 years ago
|
||
(In reply to comment #26)
> To Brian Kennelly:
> Is there any plan of Gmail/Help/IMAP documentation for "[Gmail] or [Google
> Mail]" and localized Gmail's standard folder name, including difference between
> English(US) and English(UK)?
I have seen nothing official, just picked up bits and pieces. [Google Mail] is used in locations where Google do not have the rights to "Gmail".
It would be ideal if Thunderbird could fetch the localised names when the user logs in. We would need a new "picker mode" to designate "server assigned value".
(In reply to comment #28)
> IMAP log for "save as template".
> > imap.gmail.com:S-Templates:SendData: 8 create "Non_Existent^XXX_Templates"
Why does TB use '^' as the path separator? Should it not have detected that the server was using '/'? (In the latter case, the create would have been successful.)
Comment 30•16 years ago
|
||
(In reply to comment #29)
> We would need a new "picker mode" to designate "server assigned value".
It seems that we are better to request enhancement of "wizard for Gmail IMAP".
At last step of wizard, login to Gmail IMAP server,
get "server assigned value" by XLIST,
ask to user for confirmation and set them in prefs.js.
I think that your new "picker mode" is useful not only for Gmail IMAP but also for other IMAP server with XLIST.
Comment 31•16 years ago
|
||
(In reply to comment #30)
> (In reply to comment #29)
> > We would need a new "picker mode" to designate "server assigned value".
>
> It seems that we are better to request enhancement of "wizard for Gmail IMAP".
> At last step of wizard, login to Gmail IMAP server,
> get "server assigned value" by XLIST,
> ask to user for confirmation and set them in prefs.js.
I think a combination of both. It is essential to confirm the choice at account creation, but, if the user chose "server assigned", then changes the language preference in Gmail, Thunderbird should follow.
(It is easy to say that, when I don't need to write the code <g>.)
> I think that your new "picker mode" is useful not only for Gmail IMAP but also
> for other IMAP server with XLIST.
If there are any...
Comment 32•16 years ago
|
||
(In reply to comment #29)
> Why does TB use '^' as the path separator? Should it not have detected that
> the server was using '/'? (In the latter case, the create would have been
> successful.)
Sorry but I don't know why. (a workaround of problem in the past?)
Bug 311927 is found("Mail^sent" case, opened on 2005-10-10, INCOMPLETE).
Bug 311927 looks for me to be manual prefs.js edit case.
Brian Kennelly, do you think we'd better to re-open Bug 311927?
Comment 33•16 years ago
|
||
The description certainly matches this symptom, but the actual problem may be different. Bug 311927 reports problems with embedded blanks leading to an invalid folder name. In the present case, TB had a valid path, with no embedded blanks, but replaced the path separator with an invalid character.
It looks like '^' is kOnlineHierarchySeparatorUnknown, and is set as the default until the actual separator is determined. For some reason, TB is trying to create the folder before getting the actual separator, so the invalid character is used.
Comment 34•16 years ago
|
||
Bug 467735 reported similar phenomenon to 'create "Non_Existent^XXX_Templates"'.
- Seamonkey trunk
- name space is disabled
- mail.server.serverN.server_sub_directory=~/mail/
- SELECT failed: Can't open mailbox ~|mail|Junk: no such mailbox.
Comment 35•16 years ago
|
||
str |
New variation of phenomenon with Non_Existent/XXX_Drafts is found.
1. "Compose & Save As Draft" before normal access to IMAP server.
(folder open, subscribe etc. is not done yet)
2. Tb didn't request list, subscribe etc. after login.
So Tb can't know know the fact that "Non_Existent" doesn't exist in this case.
3. Tb requested "select Non_Existent/XXX_Drafts" after login.
4. "select" failed (because folder doesn't exist).
5. "Save As Drafts" never ends(spins) until cancel of Save.
Comment 36•16 years ago
|
||
str |
FYI.
If localized version of Tb is used,
and if user changes delete model to "Move to Trash model",
and if the trash folder at Gmail IMAP server is not localized,
(i.e. "Trash"=Gmail Label of [Imap]/Trash or [Gmail]/Trash or .../Trash)
and if user selects the folder at trash folder selection UI,
Bug 480393 occurs.
Updated•16 years ago
|
Summary: IMAP does not store messages in Non-ascii Drafts. Autosave or manually save hangs endless. - IMAP wizard created non localized "Drafts" in config. → IMAP does not store messages in Non-ascii Drafts. Autosave or manually save hangs endless. - IMAP wizard created non localized "Drafts" in config. (mismatch/confusion among standard & localized folder names, of Tb & of Gmail by display language)
Comment 37•14 years ago
|
||
no activity for a long time, should be closed
Comment 38•14 years ago
|
||
(In reply to comment #37)
> no activity for a long time, should be closed
Thommie, just because there's no activity it doesn't mean it should be closed. From a brief look at the comments, it appears WADA had found a valid bug, which may or may not be fixed now. That should really be re-verified in the latest development versions of Thunderbird before closing.
Comment 39•3 years ago
|
||
This should be gone, no? (modulo the non-ascii folder problems we recently endure)
Flags: needinfo?(gds)
Comment 40•3 years ago
|
||
I don't think there are any current big issues with saving messages to imap Drafts. Of course it depends on if the connection is successful or not and if not, we now prompt to save to Local Folders. Also, don't think this has anything to do with non-asciii (UTF8) folder names, if that's what you are referring to. So I would recommend closing this since nothing new has been added to this report in over a decade.
Flags: needinfo?(gds)
Comment 41•3 years ago
|
||
And I believe the reporter, Henry, is gone.
Status: NEW → RESOLVED
Closed: 3 years ago
OS: Linux → All
Resolution: --- → INCOMPLETE
Summary: IMAP does not store messages in Non-ascii Drafts. Autosave or manually save hangs endless. - IMAP wizard created non localized "Drafts" in config. (mismatch/confusion among standard & localized folder names, of Tb & of Gmail by display language) → IMAP does not store messages in Non-ascii Drafts. Autosave or manually save hangs. IMAP wizard created non localized "Drafts" in config. (mismatch of standard & localized folder names, of Tb & of Gmail by display language)
You need to log in
before you can comment on or make changes to this bug.
Description
•